﻿namespace OnlineTestsModels
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;

    public class User
    {
        public int Id { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public string Firstname { get; set; }
        public string Lastname { get; set; }
        public string FacultyNumber { get; set; }
        public string SessionKey { get; set; }
        public virtual ICollection<UserToTest> UsersToTest { get; set; }
        public virtual Role Role { get; set; }
        public User()
        {
            this.UsersToTest = new HashSet<UserToTest>();
        }
        public int RoleId { get; set; }

    }
}
